package com.example.supplychainbackend.controller.dto.sales;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetailDto {
    String id;

    @NotBlank(message = "合同编号不能为空")
    String contractNumber;

    String salesOrderName;
    int orderType;
    int referenceDocType;
    String salesOrderType;
    String customer;
    String customerName;
    String orderDate;
    String requiredDeliveryDate;
    String firstSendTime;
    String latestResendTime;
    String company;
    String salesOrganization;
    String salesChannel;
    String productGroup;
    int invoiceQuantity;
    int invoiceAmount;
    int receivableQuantity;
    int receivableAmount;
    int receivedAmount;
    SalesInfoDto salesInfo;

    String	userName;
    String	enterpriseName;
    Boolean	onChain;
    String	transactionId;
    String	commitTime;
    String	userId;
    String	enterpriseId;
}
